Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Have you tried an API call instead?

- The Notes 5 forum used to be chock full of examples of how to use the windoze CreateProcessA() API call to do the same thing Shell is doing. It's not as hard as it seems it could be, and it has one very major advantage:

1. You get a handle to the process so you may use other API calls to query it.

- Using that handle you can get an exit code, query the status to see if it's waiting, and do about anything the system will allow you do to with a process. As the process initiator you should even be able to kill it if you want.

- Even if using an API call does not fix your problem, it may provide enough information to give you an idea how to fix your problem.

Hope this helps...


Feedback response number DGIE8HMPH3 created by ~Holly Zekhipisonnivu on 06/08/2011

Illegal function call and Shell fun... (~Evelyn Cisnith... 8.Jun.11)
. . Have you tried an API call instead?... (~Zelda Ekresask... 8.Jun.11)
. . . . API scary (~Evelyn Cisnith... 9.Jun.11)
. . . . . . The R6 Forum has examples... (~Zelda Ekresask... 9.Jun.11)
. . Try using WScript.Shell instead (~Tip Opjipymanl... 8.Jun.11)
. . . . WScript.Shell (~Evelyn Cisnith... 9.Jun.11)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS